Enter a type and click search.




Results for Magento\TestModuleFakePaymentMethod\Gateway\Command\CommandPool

File: vendor/magento/magento2-base/dev/tests/integration/_files/Magento/TestModuleFakePaymentMethod/etc/di.xml

<virtualType name="Magento\TestModuleFakePaymentMethod\Gateway\Facade"
             type="Magento\Payment\Model\Method\Adapter">
    <arguments>
        <argument name="code" xsi:type="string">
            fake
        </argument>
        <argument name="formBlockType" xsi:type="string">
            Magento\Payment\Block\Form\Cc
        </argument>
        <argument name="infoBlockType" xsi:type="string">
            Magento\Payment\Block\ConfigurableInfo
        </argument>
        <argument name="valueHandlerPool" xsi:type="object">
            Magento\TestModuleFakePaymentMethod\Gateway\Config\ValueHandlerPool
        </argument>
        <argument name="validatorPool" xsi:type="object">
            Magento\TestModuleFakePaymentMethod\Gateway\Validator\ValidatorPool
        </argument>
        <argument name="commandPool" xsi:type="object">
            Magento\TestModuleFakePaymentMethod\Gateway\Command\CommandPool
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\TestModuleFakePaymentMethod\Gateway\Facade object that it should return a Magento\Payment\Model\Method\Adapter object.

This configuration tells the Object Manager that when a user wants a Magento\TestModuleFakePaymentMethod\Gateway\Facade object that the following arguments should be used in the foo object's constructor.

File: vendor/magento/magento2-base/dev/tests/integration/_files/Magento/TestModuleFakePaymentMethod/etc/di.xml

<virtualType name="Magento\TestModuleFakePaymentMethod\Gateway\Command\CommandPool"
             type="Magento\Payment\Gateway\Command\CommandPool">
    <arguments>
        <argument name="commands" xsi:type="array">
            <item name="authorize" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
            <item name="sale" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
            <item name="capture" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
            <item name="settlement" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
            <item name="vault_authorize" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
            <item name="vault_sale" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
            <item name="vault_capture" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
            <item name="void" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
            <item name="refund" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
            <item name="cancel" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
            <item name="deny_payment" xsi:type="string">
                Magento\TestModuleFakePaymentMethod\Gateway\Command\DoNothingCommand
            </item>
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\TestModuleFakePaymentMethod\Gateway\Command\CommandPool object that it should return a Magento\Payment\Gateway\Command\CommandPool object.

This configuration tells the Object Manager that when a user wants a Magento\TestModuleFakePaymentMethod\Gateway\Command\CommandPool object that the following arguments should be used in the foo object's constructor.

  • $commands = [...items...];

File: vendor/magento/magento2-base/dev/tests/integration/_files/Magento/TestModuleFakePaymentMethod/etc/di.xml

<virtualType name="Magento\TestModuleFakePaymentMethod\Gateway\Command\CommandManager"
             type="Magento\Payment\Gateway\Command\CommandManager">
    <arguments>
        <argument name="commandPool" xsi:type="object">
            Magento\TestModuleFakePaymentMethod\Gateway\Command\CommandPool
        </argument>
    </arguments>
</virtualType>

This is a virtual type configuration.

This configuration is for the base area. Base area configurations will apply to all the sub-applications.

This virtualType configuration tells the Object Manager when a user wants a virtual Magento\TestModuleFakePaymentMethod\Gateway\Command\CommandManager object that it should return a Magento\Payment\Gateway\Command\CommandManager object.

This configuration tells the Object Manager that when a user wants a Magento\TestModuleFakePaymentMethod\Gateway\Command\CommandManager object that the following arguments should be used in the foo object's constructor.